home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / dsp / 56ktools / a5611.tz / a5611 / examples / README.effects < prev    next >
Text File  |  1992-08-11  |  2KB  |  44 lines

  1. From vn Sat Aug  3 22:10:06 1991
  2. Subject: Stereo Chorus for DSP56001 - code sample
  3. Newsgroups: comp.dsp,comp.music,rec.music.synth
  4.  
  5. OK, OK, OK.  After I mentioned in passing one day that I'd been working on some
  6. effects code for the 56001 I got quite a few queries.  Well, here's my story.
  7. I have working on my 56K board reverb, chorus, flange and combinations of them.
  8. The chorus and flange I came up with after playing with and analyzing a
  9. commercial chorus pedal.  I looked at the impulse response and delay-time
  10. characteristics of the box on a scope.  I feel OK about releasing my chorus
  11. and flange code.  The chorus code is attached.
  12.  
  13. But, my hangup with the reverb is that I used the filter configuration and
  14. coefficients from csound.  I could probably give credit to Dr. Vercoe and
  15. release the code, but while I am quite pleased with the performance of the
  16. algorithm, I would like to tweak it and expand on it to better match it to
  17. my sample rate.  The 56001 has suds left over (I run at 25 MHz).  I remember an 
  18. article I saw in the Computer Music Journal by Dr. Moorer (I think)
  19. where he discussed filters for reverb.  I was hoping to get a hold of his
  20. paper again to attempt to tune the code.  I think I need another comb filter
  21. or two.  The sound is a bit "grainy" on highs.
  22.  
  23. But, anyhow, here is some sample code for chorus.  Chorus uses a single
  24. delay-line with time-varying delay time.  Flange is very similar, with
  25. shorter delay and feedback, building effectively a time-varying comb
  26. filter.  Reverb (as implemented in csound) uses four comb filters and
  27. then two all-pass filters.  Commercial reverb makers are very protective
  28. of their respective algorithms.
  29.  
  30. By the way, I do not use the Motorola assembler but one that I wrote using
  31. YACC and LEX.  It was harder than I thought and I don't like the way the
  32. grammar turned out.  But it does work.  Would any of you DSP hacks like
  33. a documentationless assembler for the 56001?  I've been very tempted to
  34. post it, too, but was afraid of taking on the support issues.
  35.  
  36. I guess I'll post my comment-lean flange code as well.  The comments
  37. in the chorus code will help.
  38.  
  39. Enjoy,
  40.  
  41. Quinn Jensen
  42. work: jensenq@npd.novell.com
  43. home: jensenq@qcj.icon.com
  44.